.class Lcom/melesta/engine/EngineActivity$19;
.super Ljava/lang/Object;
.source "EngineActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/melesta/engine/EngineActivity;->showWaitScreen(Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/melesta/engine/EngineActivity;

.field final synthetic val$show:Z


# direct methods
.method constructor <init>(Lcom/melesta/engine/EngineActivity;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 2011
    iput-object p1, p0, Lcom/melesta/engine/EngineActivity$19;->this$0:Lcom/melesta/engine/EngineActivity;

    iput-boolean p2, p0, Lcom/melesta/engine/EngineActivity$19;->val$show:Z

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    .line 2016
    :try_start_0
    iget-boolean v1, p0, Lcom/melesta/engine/EngineActivity$19;->val$show:Z

    if-eqz v1, :cond_0

    .line 2017
    iget-object v1, p0, Lcom/melesta/engine/EngineActivity$19;->this$0:Lcom/melesta/engine/EngineActivity;

    #getter for: Lcom/melesta/engine/EngineActivity;->mFramelayout:Landroid/widget/RelativeLayout;
    invoke-static {v1}, Lcom/melesta/engine/EngineActivity;->access$1300(Lcom/melesta/engine/EngineActivity;)Landroid/widget/RelativeLayout;

    move-result-object v1

    iget-object v2, p0, Lcom/melesta/engine/EngineActivity$19;->this$0:Lcom/melesta/engine/EngineActivity;

    #getter for: Lcom/melesta/engine/EngineActivity;->mProgressFramelayout:Landroid/widget/RelativeLayout;
    invoke-static {v2}, Lcom/melesta/engine/EngineActivity;->access$1200(Lcom/melesta/engine/EngineActivity;)Landroid/widget/RelativeLayout;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    .line 2018
    iget-object v1, p0, Lcom/melesta/engine/EngineActivity$19;->this$0:Lcom/melesta/engine/EngineActivity;

    #getter for: Lcom/melesta/engine/EngineActivity;->mGLSurfaceView:Lcom/melesta/engine/EngineGLSurfaceView;
    invoke-static {v1}, Lcom/melesta/engine/EngineActivity;->access$1000(Lcom/melesta/engine/EngineActivity;)Lcom/melesta/engine/EngineGLSurfaceView;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lcom/melesta/engine/EngineGLSurfaceView;->setEnabled(Z)V

    .line 2026
    :goto_0
    return-void

    .line 2020
    :cond_0
    iget-object v1, p0, Lcom/melesta/engine/EngineActivity$19;->this$0:Lcom/melesta/engine/EngineActivity;

    #getter for: Lcom/melesta/engine/EngineActivity;->mFramelayout:Landroid/widget/RelativeLayout;
    invoke-static {v1}, Lcom/melesta/engine/EngineActivity;->access$1300(Lcom/melesta/engine/EngineActivity;)Landroid/widget/RelativeLayout;

    move-result-object v1

    iget-object v2, p0, Lcom/melesta/engine/EngineActivity$19;->this$0:Lcom/melesta/engine/EngineActivity;

    #getter for: Lcom/melesta/engine/EngineActivity;->mProgressFramelayout:Landroid/widget/RelativeLayout;
    invoke-static {v2}, Lcom/melesta/engine/EngineActivity;->access$1200(Lcom/melesta/engine/EngineActivity;)Landroid/widget/RelativeLayout;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->removeView(Landroid/view/View;)V

    .line 2021
    iget-object v1, p0, Lcom/melesta/engine/EngineActivity$19;->this$0:Lcom/melesta/engine/EngineActivity;

    #getter for: Lcom/melesta/engine/EngineActivity;->mGLSurfaceView:Lcom/melesta/engine/EngineGLSurfaceView;
    invoke-static {v1}, Lcom/melesta/engine/EngineActivity;->access$1000(Lcom/melesta/engine/EngineActivity;)Lcom/melesta/engine/EngineGLSurfaceView;

    move-result-object v1

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Lcom/melesta/engine/EngineGLSurfaceView;->setEnabled(Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 2023
    :catch_0
    move-exception v0

    .line 2024
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/melesta/engine/Error;->processException(Ljava/lang/Exception;)V

    goto :goto_0
.end method
